home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / dev / c / AmiVoGL_MDEV.lha / !Modifications.lst next >
File List  |  1997-10-16  |  2KB  |  124 lines

  1. Modifications by LouiSe (to ready for MaxonDevelop4)
  2.  
  3.     I think, the SAS/C is not the best .C compiler for
  4.     the AMIGA, since the MaxonDevelop/C++ v4.0 was born!
  5.     Just try it, and forget the bug-master SAS/C!
  6.  
  7.     - - - - - - - - - - - - - - - - - - - - - - - - - - 
  8.  
  9. - file "vogl.h", and "vodevice.h" copied to "hershey/src" directory
  10. - file "hershey.h" copied to "src" directory
  11.  
  12. - more function declarations modified to "static int" for compatibility
  13.  
  14. - some "return" function without parameter changed to "return(0)"
  15.  
  16.  
  17.  
  18.  
  19. FILE:    src/arcs.c
  20. LINE:    67
  21. ORIGINAL:
  22.     numsegs = (endang - startang) / 360.0 * nsegs + 0.5;
  23. NEW:
  24.     numsegs = (int)((endang - startang) / 360.0 * nsegs + 0.5);
  25.  
  26.  
  27.  
  28. FILE:    src/arcs.c
  29. LINE:    168
  30. ORIGINAL:
  31.     numsegs = (endang - startang) / 360.0 * nsegs + 0.5;
  32. NEW:
  33.     numsegs = (int)((endang - startang) / 360.0 * nsegs + 0.5);
  34.  
  35.  
  36.  
  37. FILE:    src/text.c
  38. LINE:    6
  39. ORIGINAL:
  40.     #if defined(PC) || defined(AZTEC_C)
  41. NEW:
  42.     #if defined(PC) || defined(AZTEC_C)  || defined(AMIGA)
  43.  
  44.  
  45.  
  46. FILE:    src/viewp.c
  47. LINE:    83
  48. ORIGINAL:
  49.     vdevice.maxVx = vdevice.viewport->v.right * vdevice.sizeSx;
  50.     vdevice.maxVy = vdevice.viewport->v.top * vdevice.sizeSy;
  51.     vdevice.minVx = vdevice.viewport->v.left * vdevice.sizeSx;
  52.     vdevice.minVy = vdevice.viewport->v.bottom * vdevice.sizeSy;
  53. NEW:
  54.     vdevice.maxVx = (int)(vdevice.viewport->v.right * vdevice.sizeSx);
  55.     vdevice.maxVy = (int)(vdevice.viewport->v.top * vdevice.sizeSy);
  56.     vdevice.minVx = (int)(vdevice.viewport->v.left * vdevice.sizeSx);
  57.     vdevice.minVy = (int)(vdevice.viewport->v.bottom * vdevice.sizeSy);
  58.  
  59.  
  60.  
  61. FILE:    src/amiga.c
  62. LINE:    10
  63. ORIGINAL:
  64.     #include <fcntl.h>
  65. NEW:
  66.     // #include <fcntl.h>
  67.  
  68.  
  69.  
  70. FILE:    src/amiga.c
  71. LINE:    52
  72. ORIGINAL:
  73.     # define MEMTYPE    (MEMF_CLEAR)
  74. NEW:
  75.     #define MEMTYPE    (MEMF_ANY|MEMF_CLEAR)
  76.  
  77.  
  78.  
  79. FILE:    src/amiga.c
  80. LINE:    225
  81. ORIGINAL:
  82.     Enable_Abort=0;
  83. NEW:
  84.     // Enable_Abort=0;
  85.  
  86.  
  87.  
  88. FILE:    src/amiga.c
  89. LINE:    301
  90. ORIGINAL:
  91.     Enable_Abort=0;
  92. NEW:
  93.     // Enable_Abort=0;
  94.  
  95.  
  96.  
  97. FILE:    src/amiga.c
  98. LINE:    1172
  99. ORIGINAL:
  100.     voglitext->TopEdge  = vdevice.sizeSy - vdevice.cpVy - vdevice.hheight;
  101. NEW:
  102.     voglitext->TopEdge  = (short)(vdevice.sizeSy - vdevice.cpVy - vdevice.hheight);
  103.  
  104.  
  105.  
  106. FILE:    hershey/src/htext.c
  107. LINE:    14
  108. ORIGINAL:
  109.     #include <fcntl.h>
  110. NEW:
  111.     // #include <fcntl.h>
  112.  
  113.  
  114.  
  115. FILE:    src/vogl.h
  116. LINE:    97
  117. ORIGINAL:
  118.     typedef long    Object;
  119. NEW:
  120.     // typedef long    Object;
  121.  
  122.  
  123.  
  124.